package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交通事故对象 sft_traffic_accident
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class SftTrafficAccident extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司ID */
    @Excel(name = "公司ID")
    private String companyId;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private String vehicleId;

    /** 驾驶员 */
    @Excel(name = "驾驶员")
    private String employeeId;

    /** 事故时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事故时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 事故图片 */
    @Excel(name = "事故图片")
    private String picture;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private Long state;

    /** 处罚结果 */
    @Excel(name = "处罚结果")
    private String penalty;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }
    public void setVehicleId(String vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public String getVehicleId() 
    {
        return vehicleId;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setPenalty(String penalty) 
    {
        this.penalty = penalty;
    }

    public String getPenalty() 
    {
        return penalty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("vehicleId", getVehicleId())
            .append("employeeId", getEmployeeId())
            .append("reportTime", getReportTime())
            .append("picture", getPicture())
            .append("memo", getMemo())
            .append("state", getState())
            .append("penalty", getPenalty())
            .toString();
    }
}
